import { ApiModulesRoutes } from '@/consts'
import request from '@/utils/request'

/**
 * 获取所有产品
 * @returns {Promise<AxiosResponse<any>>}
 */
export const apiFindAllProducts = async () => {
  const url = ApiModulesRoutes.IOT + '/product/findPList'
  return await request.get(url)
}
